﻿using UnityEngine;

namespace Room
{
    class MonsterAIStateDefendSuccess : MonsterAIStateBase
    {
        float lastTime;

        protected override void OnEnter()
        {
            controller.owner.PlayAnim("standfight");
            lastTime = 10f;
        }

        protected override void OnTick()
        {
            lastTime -= Time.deltaTime;
            if(lastTime<=0)
            {
                //controller.SwitchState(MonsterAIState.Rest);
            }
        }

    }
}

